package com.yimi.appstore.view;

public class HeadViewModel {
	private int headViewId;
	private int arrowId;
	private int progressBarId;
	private int tipsId;
	private int lastUpdatedId;
	
	/**
	 * 设置LinearLayout的ListView头视图的资源id
	 * @param headViewId
	 * @return
	 */
	public HeadViewModel setHeadViewId(int headViewId){
		this.headViewId=headViewId;
		return this;
	}
	/**
	 * 设置ImageView的箭头视图资源id
	 * @param arrowId
	 * @return
	 */
	public HeadViewModel setArrowId(int arrowId){
		this.arrowId=arrowId;
		return this;
	}
	/**
	 * 设置ProgressBar的进度条视图资源id
	 * @param progressBarId
	 * @return
	 */
	public HeadViewModel setProgressBarId(int progressBarId){
		this.progressBarId=progressBarId;
		return this;
	}
	/**
	 * 设置TextView的状态提示语句资源id
	 * @param tipsId
	 * @return
	 */
	public HeadViewModel setTipsId(int tipsId){
		this.tipsId=tipsId;
		return this;
	}
	/**
	 * 设置TextView的更新日期提示语句资源id
	 * @param lastUpdatedId
	 * @return
	 */
	public HeadViewModel setLastUpdatedId(int lastUpdatedId){
		this.lastUpdatedId=lastUpdatedId;
		return this;
	}
	/**
	 * 获取LinearLayout的ListView头视图的资源id
	 * @return
	 */
	public int getHeadViewId(){
		return headViewId;
	}
	/**
	 * 获取ImageView的箭头视图资源id
	 * @return
	 */
	public int getArrowId(){
		return arrowId;
	}
	/**
	 * 获取ProgressBar的进度条视图资源id
	 * @return
	 */
	public int getProgressBarId(){
		return progressBarId;
	}
	/**
	 * 获取TextView的状态提示语句资源id
	 * @return
	 */
	public int getTipsId(){
		return tipsId;
	}
	/**
	 * 获取TextView的更新日期提示语句资源id
	 * @return
	 */
	public int getLastUpdatedId(){
		return lastUpdatedId;
	}
}

